﻿using System;
using ZR.Model.System;

/// <summary>
/// Summary description for Class1
/// </summary>
public class GenerateSetting
{


    public void parameterSetting(GenConfig Config)
    {
        this.InitialValueTop = Config == null ? 25 : Config.InitialValueTop;
        this.UpDownInterval = Config == null ? 65 : Config.UpDownInterval;
        this.LeftRightInterval = Config == null ? 50 : Config.LeftRightInterval;
        this.Height = Config == null ? 25 : Config.Height;
        this.ColumnWidth = Config == null ? 300 : Config.ColumnWidth;
        this.FontName = Config == null ? "" : Config.FontName;
        this.FontSize = Config == null ? 16 : Config.FontSize;
        this.NumberColumns = Config == null ? 4 : Config.NumberColumns;
        this.Arrangement = Config == null ? 0 : Config.Arrangement;
    }

    public int ColumnWidth = 300;            //输入框宽度
    public String DisplayContent = "";       //显示内容

    public String Format = "";               //格式
    public String BreakOn = "";              //重复

    public String ColumnName = "";           //输入框名称
    public int ResetAfterPrinting = 0;       //打印后重置
    public int AutoStretch = 0;              //自动拉申
    public int FontSize = 16;                //字号
    public int Height = 25;                  //高度
    public int Bold = 0;                     //粗体
    public int Italic = 0;                   //斜体
    public int UnderLine = 0;                //下划线
    public String FontName = "";             //字体名称
    public int WrapAnywhere = 0;             //英文单词间换行
    public int UpperCase = 0;                //转换为大写


    public int LeftRightInterval = 50;         //左右间隔
    public int UpDownInterval = 65;            //上下间隔


    public int CountingColumn = 0;           //【Colunm】标签列数从0为起始值
    public int NumberColumns = 4;            //生成的【Colunm】的列数
    public int LineWrapping = 0;             //计数【Colunm】列数换行次数

    public int InitialValueTop = 25;         //Top初始值
    public int NumberTraversals = 1;         //遍历次数


    public int FinallyTOP = 0;               //用于subdetail 获取最后的top值

    public int Arrangement = 1;              //排列方式 0上下排列 1左右排列


    /*
    public int ColumnWidth = 300;            //输入框宽度
    public String DisplayContent = "";       //显示内容

    public String Format = "";               //格式
    public String BreakOn = "";              //重复

    public String ColumnName = "";           //输入框名称
    public int ResetAfterPrinting = 0;       //打印后重置
    public int AutoStretch = 0;              //自动拉申
    public int FontSize = 16;                //字号
    public int Height = 25;                  //高度
    public int Bold = 0;                     //粗体
    public int Italic = 0;                   //斜体
    public int UnderLine = 0;                //下划线
    public String FontName = "";             //字体名称
    public int WrapAnywhere = 0;             //英文单词间换行
    public int UpperCase = 0;                //转换为大写


    public int LeftRightInterval = 50;         //左右间隔
    public int UpDownInterval = 65;            //上下间隔


    public int CountingColumn = 0;           //【Colunm】标签列数从0为起始值
    public int NumberColumns = 4;            //生成的【Colunm】的列数
    public int LineWrapping = 0;             //计数【Colunm】列数换行次数

    public int InitialValueTop = 25;         //Top初始值
    public int NumberTraversals = 1;         //遍历次数
    */

}
